Carbon


DragDrawingProcPtr

Header: Drag.h Carbon status: Supported

typedef OSErr(* DragDrawingProcPtr) (
    DragRegionMessage message, 
     showRegion, 
    Point showOrigin, 
     hideRegion, 
    Point hideOrigin, 
    void *dragDrawingRefCon, 
    DragRef theDrag
);

You would declare your function like this if you were to name it MyDragDrawingCallback:

OSErr MyDragDrawingCallback (
    DragRegionMessage message, 
     showRegion, 
    Point showOrigin, 
     hideRegion, 
    Point hideOrigin, 
    void *dragDrawingRefCon, 
    DragRef theDrag
);
function result

A result code.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)